<?php 
if (!empty($this->flash_messages))
{
    foreach ($this->flash_messages as $flash_message)
    {
        echo '<div class="message">'.$flash_message.'</div>';
    }
}
?>
<h1 class="caption"><?php echo Zend_Registry::get('locale')->_('Access log') ?></h1>


<?php if (!empty($this->logs)) : ?>
    <?php foreach ($this->logs as $log) : ?>
      <div class="log-item">
        <div><em><?php echo date('d.m.Y H:i:s',$log->tstamp) ?></em></div>
        <div><label>IP: </label><?php echo $log->ip ?></div>
        <div><label>UA: </label><?php echo $log->ua ?></div>
        <div><label>Referer: </label><?php echo $log->referer ?></div>
        <div><label>URL: </label><?php echo $log->url ?></div>
      </div>
      <div class="clear"></div>
    <?php endforeach; ?>
<?php endif; ?>

<?php echo $this->paginator ?>
